package pl.diagnoser.client.dto;

import java.util.HashSet;
import java.util.Set;

import com.google.gwt.user.client.rpc.IsSerializable;

public class AttributeDictDTO implements IsSerializable {
	
	private Long attributeID;
	private String attributeName;
	private int isDate;
	private int isMultiple;
	private int isFile;
	private Set<AttributeValuesDictDTO> attributeValues = new HashSet<AttributeValuesDictDTO>(0);
	
	public AttributeDictDTO() {}
	public AttributeDictDTO(long attributeID, String attributeName, int isDate, int isMultiple, int isFile, Set<AttributeValuesDictDTO> attributeValues) {
		this.attributeName = attributeName;
		this.isDate = isDate;
		this.isMultiple = isMultiple;
		this.isFile = isFile;
		this.attributeValues = attributeValues;
	}
	
	public Long getAttributeID() {
		return attributeID;
	}
	
	public void setAttributeID(Long attributeID) {
		this.attributeID = attributeID;
	}

	public String getAttributeName() {
		return attributeName;
	}
	
	public void setAttributeName(String attributeName) {
		this.attributeName = attributeName;
	}
	
	public Set<AttributeValuesDictDTO> getAttributeValues() {
		return attributeValues;
	}
	
	public void setAttributeValues(Set<AttributeValuesDictDTO> attributeValues) {
		this.attributeValues = attributeValues;
	}
	
	public int getIsDate() {
		return isDate;
	}
	
	public void setIsDate(int isDate) {
		this.isDate = isDate;
	}
	
	public int getIsMultiple() {
		return isMultiple;
	}
	
	public void setIsMultiple(int isMultiple) {
		this.isMultiple = isMultiple;
	}
	
	public int getIsFile() {
		return isFile;
	}
	
	public void setIsFile(int isFile) {
		this.isFile = isFile;
	}
}
